Pronamic\WordPress\Pay\Payments\PaymentLine A

Total Complexity 54
Dependencies 6
Dependents 2
Total lines 533
Lines of code 184
Logical lines of code 78
Comment lines 259
Methods 34
Properties 14

Methods 34

Method Rating Maintainability Complexity Lines of code
from_json()
A
43 15 46
get_json()
S
55 3 19
get_tax_amount()
S
62 3 13
set_unit_price()
S
78 2 3
get_meta()
S
71 2 6
__toString()
S
62 1 12
set_sku()
S
81 1 3
set_product_url()
S
81 1 3
set_id()
S
81 1 3
get_type()
S
82 1 3
delete_meta()
S
80 1 3
set_meta()
S
80 1 3
set_type()
S
81 1 3
set_payment()
S
81 1 3
get_payment()
S
82 1 3
set_product_category()
S
81 1 3
get_product_category()
S
82 1 3
set_image_url()
S
81 1 3
get_image_url()
S
82 1 3
get_product_url()
S
82 1 3
get_name()
S
82 1 3
set_total_amount()
S
81 1 3
get_total_amount()
S
82 1 3
get_id()
S
82 1 3
set_discount_amount()
S
81 1 3
get_discount_amount()
S
82 1 3
get_sku()
S
82 1 3
get_unit_price()
S
82 1 3
set_quantity()
S
81 1 3
get_quantity()
S
82 1 3
set_description()
S
81 1 3
get_description()
S
82 1 3
set_name()
S
81 1 3
__construct()
S
76 1 4